MapService.Format.WktArray = OpenLayers.Class(OpenLayers.Format, {
    read: function(data) {
    	var features = [];
    	
    	if(data != null){
    		var list = eval("("+data+")");
        	
    		for(var i = 0; i < list.length; i++){
    			var wkt = list[i].wkt || list[i].geometry;
    			var item = OpenLayers.Geometry.fromWKT(wkt);
    			features.push(new OpenLayers.Feature.Vector(item, list[i]));
    		}
    	};
    	return features;
    },

    CLASS_NAME: "MapService.Format.WktArray"
});